package com.tsingteng.cosfun.ui.focus;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.ListView;

import com.tsingteng.cosfun.R;
import com.tsingteng.cosfun.base.BaseFragment;
import com.tsingteng.cosfun.ui.focus.adapter.AttentionAdapter;

public class AttentFragment extends BaseFragment {
    ImageView back_img;
    ListView listView;
    AttentionAdapter attentionAdapter = null;


    @Override
    protected void initView() {
        back_img = rootView.findViewById(R.id.attention_back);
        listView = rootView.findViewById(R.id.attention_list);
        attentionAdapter = new AttentionAdapter(getContext(), getActivity(), null);
        listView.setAdapter(attentionAdapter);
        back_img.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                getActivity().finish();
            }
        });
    }

    @Override
    protected void getBundle(Bundle bundle) {

    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_attention_main;
    }

}
